package com.electronsys.pojo;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * Employee entity. @author MyEclipse Persistence Tools
 */

public class Employee implements java.io.Serializable {

	// Fields

	private Integer empId;
	private Relo relo;
	private Department department;
	private String empName;
	private String empPasswd;
	private String empStyle;
	private String empTel;
	private String empEmail;
	private String empMobile;
	private String empRemark;
	private Integer empState;
	private Set computerCenters = new HashSet(0);
	private Set logs = new HashSet(0);
	private Set departments = new HashSet(0);
	private Set empRelos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Employee() {
	}
	
	public Employee(Integer empId){
		this.empId = empId;
	}
	/** minimal constructor */
	public Employee(Integer empId, String empName, String empPasswd,
			String empStyle, Integer empState) {
		this.empId = empId;
		this.empName = empName;
		this.empPasswd = empPasswd;
		this.empStyle = empStyle;
		this.empState = empState;
	}

	/** full constructor */
	public Employee(Integer empId, Relo relo, Department department,
			String empName, String empPasswd, String empStyle, String empTel,
			String empEmail, String empMobile, String empRemark,
			Integer empState, Set computerCenters, Set logs,
			Set departments, Set empRelos) {
		this.empId = empId;
		this.relo = relo;
		this.department = department;
		this.empName = empName;
		this.empPasswd = empPasswd;
		this.empStyle = empStyle;
		this.empTel = empTel;
		this.empEmail = empEmail;
		this.empMobile = empMobile;
		this.empRemark = empRemark;
		this.empState = empState;
		this.computerCenters = computerCenters;
		this.logs = logs;
		this.departments = departments;
		this.empRelos = empRelos;
	}

	// Property accessors

	public Integer getEmpId() {
		return this.empId;
	}

	public void setEmpId(Integer empId) {
		this.empId = empId;
	}

	public Relo getRelo() {
		return this.relo;
	}

	public void setRelo(Relo relo) {
		this.relo = relo;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getEmpName() {
		return this.empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getEmpPasswd() {
		return this.empPasswd;
	}

	public void setEmpPasswd(String empPasswd) {
		this.empPasswd = empPasswd;
	}

	public String getEmpStyle() {
		return this.empStyle;
	}

	public void setEmpStyle(String empStyle) {
		this.empStyle = empStyle;
	}

	public String getEmpTel() {
		return this.empTel;
	}

	public void setEmpTel(String empTel) {
		this.empTel = empTel;
	}

	public String getEmpEmail() {
		return this.empEmail;
	}

	public void setEmpEmail(String empEmail) {
		this.empEmail = empEmail;
	}

	public String getEmpMobile() {
		return this.empMobile;
	}

	public void setEmpMobile(String empMobile) {
		this.empMobile = empMobile;
	}

	public String getEmpRemark() {
		return this.empRemark;
	}

	public void setEmpRemark(String empRemark) {
		this.empRemark = empRemark;
	}

	public Integer getEmpState() {
		return this.empState;
	}

	public void setEmpState(Integer empState) {
		this.empState = empState;
	}

	public Set getComputerCenters() {
		return this.computerCenters;
	}

	public void setComputerCenters(Set computerCenters) {
		this.computerCenters = computerCenters;
	}

	public Set getLogs() {
		return this.logs;
	}

	public void setLogs(Set logs) {
		this.logs = logs;
	}

	public Set getDepartments() {
		return this.departments;
	}

	public void setDepartments(Set departments) {
		this.departments = departments;
	}

	public Set getEmpRelos() {
		return this.empRelos;
	}

	public void setEmpRelos(Set empRelos) {
		this.empRelos = empRelos;
	}

}